Re: Upcall implementation in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ar Gwe, 2006-08-11 am 12:13 +0800, ysgrifennodd Hsung-Pin Chang:
>                 Dear all,
> 
>                 Recently, I need to use upcalls in Linux to actively and
> promptly inform 
>                 the user applications once an kernel event is occurred.
>                 However, I have some questions about upcall implementation.
>                 First, the user handler must be "pinned" into memory to
> prevent paging out.

Linux intentionally and deliberately does not support kernel calls into
user space. It leads to very difficult locking problems amongst other
things.

Instead we either send asynchronous events (signal/netlink/..) or we
arrange that a system call returns when the event happens so the user
process resumes.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux