+ sched-comment-bitmap-size-accounting.patch added to -mm tree

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

 



The patch titled

     sched: comment bitmap size accounting

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

     sched-comment-bitmap-size-accounting.patch

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


From: Steven Rostedt <rostedt@xxxxxxxxxxx>

This was confusing.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/sched.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -puN kernel/sched.c~sched-comment-bitmap-size-accounting kernel/sched.c
--- devel/kernel/sched.c~sched-comment-bitmap-size-accounting	2006-05-13 08:41:24.000000000 -0700
+++ devel-akpm/kernel/sched.c	2006-05-13 08:41:24.000000000 -0700
@@ -185,6 +185,13 @@ static unsigned int task_timeslice(task_
  * These are the runqueue data structures:
  */
 
+/*
+ * Calculate BITMAP_SIZE.
+ *  The bitmask holds MAX_PRIO bits + 1 for the delimiter.
+ *  BITMAP_SIZE is the minimum number of longs that holds MAX_PRIO+1 bits:
+ *   size-in-bytes = ceiling((MAX_PRIO+1) / BITS_PER_BYTE)
+ *   size-in-longs = ceiling(size-in-bytes / sizeof(long))
+ */
 #define BITMAP_SIZE ((((MAX_PRIO+1+7)/8)+sizeof(long)-1)/sizeof(long))
 
 typedef struct runqueue runqueue_t;
_

Patches currently in -mm which might be from rostedt@xxxxxxxxxxx are

fix-for-serial-uart-lockup.patch
jbd-avoid-kfree-null.patch
ext3_clear_inode-avoid-kfree-null.patch
sched-comment-bitmap-size-accounting.patch
rtmutex-remove-buggy-bug_on-in-pi-boosting-code.patch
document-futex-pi-design.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