Pagecache question

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

 




Hi all,

How do I invalidate a single page?

I am in a situation, where a function in driver control thread (which
may not wait_on_page - that would be deadlock) finds out, that a range
of pages in an inode is invalid. When the pages are locked, they don't
need to be destroyed, so it does not matter I can't wait on them. I
would like to get rid of pages in that range only, else the cache
performace will go to hell quite quickly.

Note that it should be in module, so I need exported symbols

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
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