4 ms·
An interesting SO post about what BUG_ON does http://stackoverflow.com/questions/6359700/using-assertion-in-the-kernel http://stackoverflow.com/questions/63597
by zymhan 10y ago
An interesting SO post about what BUG_ON does
http://stackoverflow.com/questions/6359700/using-assertion-in-the-kernel http://stackoverflow.com/questions/6359700/using-assertion-i...
Essentially, it causes the kernel to panic immediately.