Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19

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

 



On Saturday 05 November 2005 19:30, Zan Lynx wrote:
> > None of this is very attractive.
>
> You could allow the 'hugetlb zone' to shrink, allowing more kernel
> allocations.  User pages at the boundary would be moved to make room.

Please make that optional if you do.  In my potential use case, an OOM kill 
lets the administrator know they've got things configure wrong so they can 
can fix it and try again.  Containing and viciously reaping things like 
dentries is the behavior I want out of it.

Also, if you do shrink the hugetlb zone it might be possible to 
opportunistically expand it back to its original size.  There's no guarantee 
that a given kernel allocation will ever go away, but if it _does_ go away 
then the hugetlb zone should be able to expand to the next blocking 
allocation or the maximum size, whichever comes first.  (Given that my 
understanding of the layout may not match reality at all; don't ask me how 
the discontiguous memory stuff would work in here...)

Rob
-
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