Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

proc_flush_task(9) [centos man page]

PROC_FLUSH_TASK(9)						The proc filesystem						PROC_FLUSH_TASK(9)

NAME
proc_flush_task - Remove dcache entries for task from the /proc dcache. SYNOPSIS
void proc_flush_task(struct task_struct * task); ARGUMENTS
task task that should be flushed. DESCRIPTION
When flushing dentries from proc, one needs to flush them from global proc (proc_mnt) and from all the namespaces' procs this task was seen in. This call is supposed to do all of this job. Looks in the dcache for /proc/pid /proc/tgid/task/pid if either directory is present flushes it and all of it'ts children from the dcache. It is safe and reasonable to cache /proc entries for a task until that task exits. After that they just clog up the dcache with useless entries, possibly causing useful dcache entries to be flushed instead. This routine is proved to flush those useless dcache entries at process exit time. NOTE
This routine is just an optimization so it does not guarantee that no dcache entries will exist at process exit time it just makes it very unlikely that any will persist. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PROC_FLUSH_TASK(9)

Check Out this Related Man Page

tapset::nfs_proc(3stap) 												   tapset::nfs_proc(3stap)

NAME
tapset::nfs_proc - systemtap nfs_proc tapset DESCRIPTION
nfs.proc.lookup NFS client opens/searches a file on server See probe::nfs.proc.lookup(3stap) for details. nfs.proc.read NFS client synchronously reads file from server See probe::nfs.proc.read(3stap) for details. nfs.proc.write NFS client synchronously writes file to server See probe::nfs.proc.write(3stap) for details. nfs.proc.commit NFS client committing data on server See probe::nfs.proc.commit(3stap) for details. nfs.proc.read_setup NFS client setting up a read RPC task See probe::nfs.proc.read_setup(3stap) for details. nfs.proc.read_done NFS client response to a read RPC task See probe::nfs.proc.read_done(3stap) for details. nfs.proc.write_setup NFS client setting up a write RPC task See probe::nfs.proc.write_setup(3stap) for details. nfs.proc.write_done NFS client response to a write RPC task See probe::nfs.proc.write_done(3stap) for details. nfs.proc.commit_setup NFS client setting up a commit RPC task See probe::nfs.proc.commit_setup(3stap) for details. nfs.proc.commit_done NFS client response to a commit RPC task See probe::nfs.proc.commit_done(3stap) for details. nfs.proc.open NFS client allocates file read/write context information See probe::nfs.proc.open(3stap) for details. nfs.proc.release NFS client releases file read/write context information See probe::nfs.proc.release(3stap) for details. nfs.proc.handle_exception NFS client handling an NFSv4 exception See probe::nfs.proc.handle_exception(3stap) for details. nfs.proc.create NFS client creating file on server See probe::nfs.proc.create(3stap) for details. nfs.proc.remove NFS client removes a file on server See probe::nfs.proc.remove(3stap) for details. nfs.proc.rename NFS client renames a file on server See probe::nfs.proc.rename(3stap) for details. SEE ALSO
probe::nfs.proc.lookup(3stap), probe::nfs.proc.read(3stap), probe::nfs.proc.write(3stap), probe::nfs.proc.commit(3stap), probe::nfs.proc.read_setup(3stap), probe::nfs.proc.read_done(3stap), probe::nfs.proc.write_setup(3stap), probe::nfs.proc.write_done(3stap), probe::nfs.proc.commit_setup(3stap), probe::nfs.proc.commit_done(3stap), probe::nfs.proc.open(3stap), probe::nfs.proc.release(3stap), probe::nfs.proc.handle_exception(3stap), probe::nfs.proc.create(3stap), probe::nfs.proc.remove(3stap), probe::nfs.proc.rename(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::nfs_proc(3stap)
Man Page