Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/160.html
Дата изменения: Thu Mar 23 12:37:45 2000
Дата индексирования: Wed Sep 15 00:49:52 2010
Кодировка:

Поисковые слова: arp 220
Whats the difference between dev_tint(dev) and mark_bh(NET_BH)? The HyperNews Linux KHG Discussion Pages

Question: Whats the difference between dev_tint(dev) and mark_bh(NET_BH)?

Forum: The Linux Kernel Hackers' Guide
Date: Fri, 21 Nov 1997 14:39:17 GMT
From: Jaspreet Singh <jaspreet@sangoma.com>

Hi,

I don't know what the difference between the two is. It looks as if "net_bh()" calls devtint ( and i guess doing mark_bh(NET_BH) calls net_bh() ) .

My driver calls dev_tint again and again due to heavy traffic and as a result the kernel crashes with the error: "release:kernel stack corruption".

 However when I replace that call with a mark_bh(NET_BH)  then my kernel doesn't crash.

If someone could shed some light as to what the difference between the two is that would be great.

Thanks

Jaspreet Singh