Em Sex, 2006-08-04 às 11:14 -0300, Leonardo Linden escreveu: > Me corrijam se estiver errado, nao sei onde li uma vez que so posso > usar a opcao de kernel DEVICE_POLLING se nao estiver usando SMP, > verdade isso ?
Retirado do artigo do autor do device polling: http://info.iet.unipi.it/~luigi/polling/ "Why does this code not work with SMP ? It actually might work (if you remove a one line in systm.h which prevents compilation with SMP). However, you would have a single thread doing the polling, whereas an SMP box might in principle handle concurrently interrupts from different devices. I guess the best answer is that I am not yet sure on whether or not it makes sense to have polling with SMP." Ele diz que deve funcionar se voce remover uma linha do systm.h que faz com que não seja possível compilar o kernel com polling e smp ao mesmo tempo, então se você conseguir compilar o kernel deve funcionar, porém ele diz que não sabe até onde faz sentido compilar um kernel smp com device polling pois o polling é como se fosse uma thread unica que cuida da rede, enquanto que tendo 2 processadores você pode estar atendendo 2 placas de simultaneamente já que cada 1 dos processadores é capaz que estar tratando interrupções diferentes ao mesmo tempo. Concordo com ele, não sei se isso faz sentido... é mais uma super tarefa para os benchmarks. heheheheh []s Nilson ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

