[pso] [tema5](linux) add firewall rule

Traian Patrascu patrascut at yahoo.com
Thu Jun 5 20:19:19 EEST 2008


Chestia asta se intampla in handlerul timerului. Defapt aici vreau sa elimin regula dinamica care nu mai este necesara. Ma gandesc ca daca e intrerupere nu as mai avea nevoie de lock. Gresesc cumva? :)

--- On Thu, 6/5/08, Mihai Borobocea <mihaiborobocea at gmail.com> wrote:
From: Mihai Borobocea <mihaiborobocea at gmail.com>
Subject: Re: [pso] [tema5](linux) add firewall rule
To: traian.patrascu at yahoo.com, "Proiectarea Sistemelor de Operare" <pso at cursuri.cs.pub.ro>
Date: Thursday, June 5, 2008, 11:12 PM

On Thu, Jun 5, 2008 at 8:06 PM, Traian Patrascu <patrascut at yahoo.com> wrote:




Lock-ul e facut cu spinlock-uri de tip read/write exact ca in exemplele din laborator. Am incercat si cu spinlock normal si tot nu scap de mesaj (in rest modulul se comporta normal).





[ INFO: inconsistent lock state ]

inconsistent {softirq-on-W} -> {in-softirq-W} usage.
Cred ca iei un atat din context proces cat si din context intrerupere (si poti ajunge la deadlock).
Foloseste un spinlock care dezactiveaza intreruperile



_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080605/5db53d3e/attachment.htm 


More information about the pso mailing list