- per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface-fix.patch removed from -mm tree

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

 



The patch titled

     per task delay accounting taskstats interface: reduce version field size

has been removed from the -mm tree.  Its filename is

     per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface-fix.patch

This patch was dropped because it was folded into per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface.patch

------------------------------------------------------
Subject: per task delay accounting taskstats interface: reduce version field size
From: Shailabh Nagar <nagar@xxxxxxxxxxxxxx>

Replace the 64-bit version field in struct taskstats with a smaller field
and the padding needed to keep the recommended 64-bit alignment.  Future
extensions to taskstats can replace the padding bits to store useful
fields.  Since they will update the version number, backwards compatibility
is not an issue.

Thanks to Jay Lan for suggesting this space saving measure.

Signed-off-by: Jay Lan <jlan@xxxxxxxxxxxx>
Signed-off-by: Shailabh Nagar <nagar@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/taskstats.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff -puN include/linux/taskstats.h~per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface-fix include/linux/taskstats.h
--- a/include/linux/taskstats.h~per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface-fix
+++ a/include/linux/taskstats.h
@@ -34,7 +34,11 @@
 struct taskstats {
 
 	/* Version 1 */
-	__u64	version;
+	__u16	version;
+	__u16	padding[3];	/* Userspace should not interpret the padding
+				 * field which can be replaced by useful
+				 * fields if struct taskstats is extended.
+				 */
 
 	/* Delay accounting fields start
 	 *
_

Patches currently in -mm which might be from nagar@xxxxxxxxxxxxxx are

netlink-improve-string-attribute-validation.patch
list_islast-utility.patch
per-task-delay-accounting-setup.patch
per-task-delay-accounting-sync-block-i-o-and-swapin-delay-collection.patch
per-task-delay-accounting-cpu-delay-collection-via-schedstats.patch
per-task-delay-accounting-utilities-for-genetlink-usage.patch
per-task-delay-accounting-taskstats-interface.patch
per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface.patch
per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface-fix.patch
per-task-delay-accounting-documentation.patch
per-task-delay-accounting-proc-export-of-aggregated-block-i-o-delays.patch
delay-accounting-taskstats-interface-send-tgid-once.patch
per-task-delay-accounting-taskstats-interface-documentation-fix.patch
per-task-delay-accounting-avoid-send-without-listeners.patch
per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks.patch
per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix.patch
per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-2.patch
per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-3.patch
per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-cleanup.patch
per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-cleanup-fix.patch
remove-down_write-from-taskstats-code-invoked-on-the-exit-path.patch
task-watchers-register-per-task-delay-accounting.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux