[pso] [tema3 linux]: bio_alloc

Andrei Deftu andreideftu at yahoo.com
Wed Apr 30 18:49:06 EEST 2008


Ai lock pe un spinlock inainte de bio_alloc() ?

--- Florin Antonescu <florinantonescu at yahoo.com>
wrote:

> Primesc urmatorul mesaj:
> BUG: sleeping function called from invalid context
> at mm/mempool.c:209
> in_atomic():1 irqs_disabled():0
> Din stack trace (si din faptul ca am comentat mai
> tot in afara de functia asta) imi dau seama ca
> eroarea apare in bio_alloc pe care o apelez cu
> bio_alloc(GFP_NOIO, nr_pagini) dintr-un kernel
> thread.
> De ce se comporta astfel?
> Mai mult, daca apelez submit_bio imi da kernel
> panic.
> Ce gresesc?


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the pso mailing list