lkml.org 
[lkml]   [2003]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fix SWSUSP & !SWAP
Good Morning All:-)

On Wed, 23 Apr 2003 21:37:41 -0700
"Martin J. Bligh" <mbligh@aracnet.com> wrote:

> >> > I don't believer I've ever seen things get OOM killed. Instead, page
> >> > cache is discarded until things do fit.
> >>
> >> What happens if user allocated pages are filling up all the space,
> >> not page cache? Trust me, it happens ;-)
> >

Yes, it happens...:-)

> > Yep, just because I haven't seen it, doesn't mean a thing. :>. In that

<snip>

</snip>

> The more I think about this, the more it seems so much simpler to just
> require a reserved swap area the size of your RAM to suspend into. Would
> make the code so much simpler ... forget the option bit I suggested earlier
> ;-)

I think most people doesn't interest wheter the code is simple or not...it must work!

What I like to see is that we can define in /etc/fstab an entry for a separate suspend partition or suspend file.

eg. for a partition:
/dev/sda4 none swsusp swsp 0 0

or for a file:
/tmp/swsusp none swsusp swsp 0 0

Is it possible? It's also just an idea...

Marc

Also I wouldn't like it, if my programs get OOM-killed just because swap and memory are full! The reasons because I use standby and hybernation are:

1. I hate booting...(If I like booting I would use windows;-))
2. I want to continue working on the last work without opening the programs again
3. I can go home faster:-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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