Re: [PATCH -mm] Don't truncate /proc/PID/environ at 4096 characters

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Friday, September 21, 2007 - 3:00 am

On (20/09/07 16:46), Andrew Morton didst pronounce:

Because it's a very short lived allocation? He allocates it here and
frees it at the end of the function again.


The patch leader documented how this works although you're right in that the
code doesn't explain it adequately. Temporary and short-lived allocations
are grouped with kernel-reclaimable pages such as inode and dcache pages
intentionally.


-- 
-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm] Don't truncate /proc/PID/environ at 4096 c ..., Mel Gorman, (Fri Sep 21, 3:00 am)