Re: doubt about ZONE_HIMEM

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

 



On Tue, 2007-04-10 at 12:13 +0300, Tzahi Fadida wrote:
> I.e., kernel pages are swapable (since when the kernel needs the data in the 
> page it needs to swap out the user pages)? 
> I.e. When the user mode application works it will see certain kinds of page, 
> but when the kernel will work on behalf of the application those pages will 
> be swapped and replaced by kernel pages (unless it will use copy_from_user).
> 

	The kernel page, as in pages used by the kernel _only_ wont be swapped
out. Now, when the kernel is working on a page, also mapped in user
space, and it is swapped out already.. the page is brought back into
memory by the do_page_fault(), so copy_to_user/copy_from_user are also
expected to cause page faults...

cheers,
sandeep


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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