★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0796.htmlNouvelle recherche | Portail wanayoo

proc/pid/patch for 2.1.49

Alain Knaff (Alain.Knaff@poboxes.com)
Thu Aug 14 23:21:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links]

21-proc-pid-patch-49.patch
>Also, I think that /proc/pid/maps would be improved by not
>allocating a page every time for each line, but allocating the page once
>per invocation and scribbling the whole line directly to that page and
>then copying to user mode one line at a time (now it copies in two sets:
>first the "old" string, and then it appends the name separately).
>
>
>               Linus
>

Here is a newer version of it, which uses this advice:




[Home] [Up] [Search] [FeedBack]

Copyleft © The LinuxHQ Project. Licensed under the GNU Public License.