Re: deliver interrupt signal to user space

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

 



Hi Ming...

> We have a front panel reset which will generate an interrupt signal
> to processor and in turn the interrupt should notify an user process
> do 'shutdown' system procedures. This should be similar behavior as
> CTRL+ATL+DEL button hit and then shutdown system.
>
> What is best and fast notification mechanism to handle this ?

Hm, not quite sure. How about using netlink? Or, associate the interrupt 
with a file descriptor, while in userspace, utilize inotify to react 
when there is a change in file status? One I also heard about user 
space interrupt handling, but that requires separate kernel patches too 
(I believe it is described in LWN.net, please search there)

Hope it helps.

regards

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux