lkml.org 
[lkml]   [1999]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Address spaces on a i386 - Getting Confused
Date
> David Miller writes:
> > Date: Tue, 30 Mar 1999 22:36:04 +1000
> > From: Richard Gooch <rgooch@atnf.csiro.au>
> >
> > ??? Pages returned by kmalloc() or get_free_page() aren't
> > swappable.
> >
> > Brain fart, sorry. He will however have to make sure he free's up the
> > pages when the device is closed because the kernel isn't going to do
> > it during normal address space destruction.
>
> Or perhaps that could be done in the unmap() vm_ops method?

The release handler in 2.1.x/2.2.x is called after the last close & all
mappings are gone for exactly this reason


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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