Re: CONFIG_DEBUG_PREEMPT (was: [PATCH 04/04] Cpuset: skip rcu check ...)

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

 



On Mon, Dec 19, 2005 at 08:04:01AM -0800, Paul Jackson wrote:
| Greg - CONFIG_DEBUG_PREEMPT adds a couple of pages of assembly code 
| due to various BUG checks beneath rcu_read_lock() on some hot code
| paths (which is where rcu is most popular).  See the two calls
| add_preempt_count() and sub_preempt_count() in kernel/sched.c.
| 
| Was this intentional to enable CONFIG_DEBUG_PREEMPT in sn2_defconfig?

It wasn't intentional at the time.  I believe it was pulled in
automatically when we refreshed since we had CONFIG_PREEMPT on.  That
said, it has proven itself useful in turning up some bugs.

Greg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[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