Re: [take6 1/3] kevent: Core files.
From: Evgeniy Polyakov <hidden>
Date: 2006-08-11 06:55:41
Also in:
lkml
From: Evgeniy Polyakov <hidden>
Date: 2006-08-11 06:55:41
Also in:
lkml
On Thu, Aug 10, 2006 at 11:38:26PM -0700, David Miller (davem@davemloft.net) wrote:
From: Evgeniy Polyakov <redacted> Date: Fri, 11 Aug 2006 10:33:53 +0400quoted
That requires mmap hacks to substitute pages in run-time without user notifications. I do not expect it is a good solution, since on x86 it requires full TLB flush (at least when I did it there were no exported methods to flush separate addresses).You just need to provide a do_no_page method, the VM layer will take care of the page level flushing or whatever else might be needed.
Yes, it is the simplest way to extend mapping but not to replace pages which are successfully mapped, but such hacks are not needed for kevent which only expects to extend mapping when number of ready kevents increases. So I will create such implementation and will place a reduced amount of info into that pages. -- Evgeniy Polyakov