[lkml]   [1997]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: fork: out of memory

> I must be missing a big point here ... why is it not
> possible to either (a) turn on paging in the kernel
> so that non-contiguous pages can be easily made to look
> contiguous to kernel code, or (b) when you can't find

a) is bad: linux performs so good partly because its own ram is

> 8 contiguous pages, pick the first free page and swap
> the data in the next 7 adjacent pages with other free

b) is impossible: You would have to modify all pointers pointing to
that memory. Or you would have to use MM tricks which are slow - see

> pages in memory. Method (b) could construct any number of
> contiguous free pages atomically with the only penalty
> being some chunky memcpy's ...


I'm really Pavel
Look at ;-).

 \ /
  Last update: 2005-03-22 13:40    [W:0.066 / U:6.272 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site