[RFC][PATCH 6/7] VPIDs: small proc VPID export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Export of task VPID to /proc
Simple.

Kirill
--- ./fs/proc/array.c.vpid_proc	2006-02-02 14:33:58.000000000 +0300
+++ ./fs/proc/array.c	2006-02-02 17:54:34.673273968 +0300
@@ -200,6 +200,8 @@ static inline char * task_state(struct t
 	put_group_info(group_info);
 
 	buffer += sprintf(buffer, "\n");
+
+	buffer += sprintf(buffer, "VPid:\t%d\n", virt_pid(p));
 	return buffer;
 }
 

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux