original_kernel/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
..
Kconfig Merge branch 'xen-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2007-10-17 11:10:11 -07:00
Makefile
allocpercpu.c
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap.c kernel-api docbook: fix content problems 2007-10-19 11:53:35 -07:00
filemap_xip.c
fremap.c remap_file_pages: kernel-doc corrections 2007-10-17 08:43:07 -07:00
highmem.c
hugetlb.c sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
internal.h
madvise.c
memory.c remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
memory_hotplug.c
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 security/ cleanups 2007-10-17 08:43:07 -07:00
oom_kill.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
page-writeback.c writeback: remove unnecessary wait in throttle_vm_writeout() 2007-10-17 08:43:02 -07:00
page_alloc.c
page_io.c
page_isolation.c
pdflush.c
prio_tree.c
quicklist.c
readahead.c
rmap.c
shmem.c r/o bind mounts: filesystem helpers for custom 'struct file's 2007-10-17 08:43:04 -07:00
shmem_acl.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.c
swap_state.c
swapfile.c
thrash.c
tiny-shmem.c r/o bind mounts: filesystem helpers for custom 'struct file's 2007-10-17 08:43:04 -07:00
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