Re: copy_from_user / copy_to_user with no swap space

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

 



No. Your code may be only partially paged into RAM.
The same can happen for any mmaped data.

That's what I thought I read. But then my question is: with on-demand paging, is it possible to have two processes partially paged? Surely, it MUST be the case that any processes with overlapping logical address spaces must be paged coherently. So, while on-demand "paging-in" allows for partial paging of a process, is it the case that, on a context switch, the user-space PTE's are completely erased (so that you get page-faults and can then on-demand page them in...)?





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux