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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: James Pearson <james-p@...>, <linux-kernel@...>, <aarapov@...>, <hpa@...>
Date: Friday, September 21, 2007 - 6: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 cha..., Mel Gorman, (Fri Sep 21, 6:00 am)