[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151005015055.GA8831@linux-uzut.site>
Date: Sun, 4 Oct 2015 18:50:55 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Geliang Tang <geliangtang@....com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Hugh Dickins <hughd@...gle.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Andrea Arcangeli <aarcange@...hat.com>,
Joonsoo Kim <js1304@...il.com>, Arnd Bergmann <arnd@...db.de>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Leon Romanovsky <leon@...n.nu>,
Oleg Nesterov <oleg@...hat.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] mm/nommu: drop unlikely behind BUG_ON()
On Sun, 04 Oct 2015, Geliang Tang wrote:
>BUG_ON() already contain an unlikely compiler flag. Drop it.
>
>Signed-off-by: Geliang Tang <geliangtang@....com>
Acked-by: Davidlohr Bueso <dave@...olabs.net>
... but I believe you do have some left:
drivers/scsi/scsi_lib.c: BUG_ON(unlikely(count > ivecs));
drivers/scsi/scsi_lib.c: BUG_ON(unlikely(count > queue_max_integrity_segments(rq->q)));
kernel/sched/core.c: BUG_ON(unlikely(task_stack_end_corrupted(prev)));
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists