[so2] [Tema 3] Panic la __free_page

Alexandra Sandulescu alecsandra.sandulescu at gmail.com
Sat Apr 25 21:57:29 EEST 2015


2015-04-25 19:30 GMT+03:00 Alexandra Sandulescu <
alecsandra.sandulescu at gmail.com>:

> Am o nelamurire despre cum functioneaza __free_page.
>
> Am creat un bio cu bio_alloc si il folosesc pentru a citi ceva de pe disk.
> Dupa ce citesc, folosesc acelasi bio sa scriu pe disk pe aceleasi pagini.
>
> Dupa wait_for_completion() incerc sa fac __free_page pe fiecare bio_vec si
> crapa.
>
> Nu inteleg de ce.
>
Setam bio->bi_vcnt inainte de bio_add_page().

>
> Multumesc,
> Alexandra
>

fixed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so2/attachments/20150425/c3a556c3/attachment.html>


More information about the so2 mailing list