Re: [PATCH] Make (LIST_DEBUG WARN not BUG)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Dobriyan
Date: Tuesday, May 20, 2008 - 2:52 pm

On Tue, May 20, 2008 at 11:22:27AM -0400, Dave Jones wrote:

Affirmative, LIST_DEBUG is very useful.

Let's look again at what patch actually does: writes to corrupted memory
will be done even if it's known for sure it's corrupted.

There is

	BUG_ON(!list_empty(&father->children));

in forget_original_parent(). Should it be changed to WARN_ON? Why [not]?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Extend list debugging to cover hlists, Arjan van de Ven, (Thu May 1, 1:32 pm)
[PATCH] Extend list debugging to cover hlists, Matthew Wilcox, (Fri May 2, 11:27 am)
Re: [PATCH] Extend list debugging to cover hlists, Matthew Wilcox, (Fri May 2, 11:49 am)
Re: [PATCH] Extend list debugging to cover hlists, Dave Jones, (Fri May 2, 12:05 pm)
Re: [PATCH] Extend list debugging to cover hlists, Andrew Morton, (Fri May 2, 4:14 pm)
Re: [PATCH] Extend list debugging to cover hlists, Matthew Wilcox, (Fri May 2, 4:17 pm)
Re: [PATCH] Extend list debugging to cover hlists, Andrew Morton, (Fri May 2, 4:39 pm)
[PATCH] Make, Dave Jones, (Mon May 19, 8:24 pm)
Re: [PATCH] Make, Arjan van de Ven, (Tue May 20, 7:14 am)
Re: [PATCH] Make, Dave Jones, (Tue May 20, 7:27 am)
Re: [PATCH] Make, Linus Torvalds, (Tue May 20, 7:54 am)
Re: [PATCH] Make, Alexey Dobriyan, (Tue May 20, 8:00 am)
Re: [PATCH] Make, Linus Torvalds, (Tue May 20, 8:12 am)
Re: [PATCH] Make, Dave Jones, (Tue May 20, 8:20 am)
Re: [PATCH] Make, Dave Jones, (Tue May 20, 8:22 am)
Re: [PATCH] Make, Arjan van de Ven, (Tue May 20, 9:15 am)
Re: [PATCH] Make (LIST_DEBUG WARN not BUG), Alexey Dobriyan, (Tue May 20, 2:52 pm)