BUG() seems to include whole pathname in kernel data

From: Cesar Eduardo Barros (cesarb@web4u.com.br)
Date: Tue Apr 25 2000 - 20:09:19 EST

It looks like every time BUG() is called (even if it's in an unused inline
function) the whole pathname for the .h file is included in the kernel data,
which is a waste of space. Wouldn't it be better to cut everything before the
kernel source top directory (so that
/home/cesarb/src/linux-2.3.99-pre6-6/include/asm/spinlock.h would become

(this is the behavior of the i386 BUG(). Don't know about other archs)

Cesar Eduardo Barros

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:10 EST