+ task_struct-ifdef-btrace_seq.patch added to -mm tree

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

 



The patch titled

     task_struct: ifdef btrace_seq

has been added to the -mm tree.  Its filename is

     task_struct-ifdef-btrace_seq.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: task_struct: ifdef btrace_seq
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Debugging aid.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Cc: Jens Axboe <axboe@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/sched.h |    2 ++
 kernel/fork.c         |    2 ++
 2 files changed, 4 insertions(+)

diff -puN include/linux/sched.h~task_struct-ifdef-btrace_seq include/linux/sched.h
--- a/include/linux/sched.h~task_struct-ifdef-btrace_seq
+++ a/include/linux/sched.h
@@ -784,7 +784,9 @@ struct task_struct {
 	struct prio_array *array;
 
 	unsigned short ioprio;
+#ifdef CONFIG_BLK_DEV_IO_TRACE
 	unsigned int btrace_seq;
+#endif
 
 	unsigned long sleep_avg;
 	unsigned long long timestamp, last_ran;
diff -puN kernel/fork.c~task_struct-ifdef-btrace_seq kernel/fork.c
--- a/kernel/fork.c~task_struct-ifdef-btrace_seq
+++ a/kernel/fork.c
@@ -177,7 +177,9 @@ static struct task_struct *dup_task_stru
 	/* One for us, one for whoever does the "release_task()" (usually parent) */
 	atomic_set(&tsk->usage,2);
 	atomic_set(&tsk->fs_excl, 0);
+#ifdef CONFIG_BLK_DEV_IO_TRACE
 	tsk->btrace_seq = 0;
+#endif
 	tsk->splice_pipe = NULL;
 	return tsk;
 }
_

Patches currently in -mm which might be from adobriyan@xxxxxxxxx are

include-linux-netfilter_bridgeh-header-cleanup.patch
megaraid-fix-warnings-when-config_proc_fs=n.patch
git-xfs.patch
headers_check-clarify-error-message.patch
headers_check-fix-include-regexp.patch
task_struct-ifdef-missedem-v-ipc.patch
task_struct-ifdef-btrace_seq.patch
documentation-ioctl-messtxt-start-tree-wide-ioctl-registry.patch
ioctl-messtxt-xfs-typos.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