Re: When to use threaded interrupts?

2015-09-15 Thread Greg KH
On Tue, Sep 15, 2015 at 09:02:24PM +0300, Kosta Zertsekel wrote: > >> On 10 September 2015 at 20:49, Kosta Zertsekel > >> Also, I see that in 4.2 there are only ~76 drivers that use threaded > >> interrupt: > >> ``` > >> $ git grep -l IRQ_WAKE_THREAD | sort | grep -v "\.h" |

Re: When to use threaded interrupts?

2015-09-15 Thread Kosta Zertsekel
>> On 10 September 2015 at 20:49, Kosta Zertsekel >> Also, I see that in 4.2 there are only ~76 drivers that use threaded >> interrupt: >> ``` >> $ git grep -l IRQ_WAKE_THREAD | sort | grep -v "\.h" | wc -l >> 76 >> ``` > On Sun, Sep 13, 2015 at 2:16 PM, Rami Rosen

Re: mmap - post/pre actions

2015-09-15 Thread Valdis . Kletnieks
On Tue, 15 Sep 2015 22:40:50 +0300, Ran Shalit said: > Hello, > > I need to implement mmap for non-volatile memory chip (NVRAM). > I already did something simple, but now I understand that it is not complete: > The nvram need to be unlock and locked after finishing the memory task > of read/write.

mmap - post/pre actions

2015-09-15 Thread Ran Shalit
Hello, I need to implement mmap for non-volatile memory chip (NVRAM). I already did something simple, but now I understand that it is not complete: The nvram need to be unlock and locked after finishing the memory task of read/write. Does mmap can handle such post/pre actions or not ( I guess