kernel_optimize_test/mm
Pavel Emelyanov ba25f9dcc4 Use helpers to obtain task pid in printks
The task_struct->pid member is going to be deprecated, so start
using the helpers (task_pid_nr/task_pid_vnr/task_pid_nr_ns) in
the kernel.

The first thing to start with is the pid, printed to dmesg - in
this case we may safely use task_pid_nr(). Besides, printks produce
more (much more) than a half of all the explicit pid usage.

[akpm@linux-foundation.org: git-drm went and changed lots of stuff]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:43 -07:00
..
allocpercpu.c
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap_xip.c
filemap.c kernel-api docbook: fix content problems 2007-10-19 11:53:35 -07:00
fremap.c
highmem.c
hugetlb.c sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
internal.h
Kconfig
madvise.c
Makefile
memory_hotplug.c
memory.c remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
mempolicy.c Uninline find_task_by_xxx set of functions 2007-10-19 11:53:40 -07:00
mempool.c
migrate.c Uninline find_task_by_xxx set of functions 2007-10-19 11:53:40 -07:00
mincore.c
mlock.c
mmap.c setup vma->vm_page_prot by vm_get_page_prot() 2007-10-19 11:53:34 -07:00
mmzone.c
mprotect.c setup vma->vm_page_prot by vm_get_page_prot() 2007-10-19 11:53:34 -07:00
mremap.c sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
msync.c
nommu.c
oom_kill.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
page_alloc.c
page_io.c
page_isolation.c
page-writeback.c
pdflush.c
prio_tree.c
quicklist.c
readahead.c
rmap.c
shmem_acl.c
shmem.c
slab.c cpu hotplug: slab: fix memory leak in cpu hotplug error path 2007-10-18 14:37:21 -07:00
slob.c
slub.c
sparse-vmemmap.c
sparse.c
swap_state.c
swap.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
vmstat.c