[pso] Laborator3 - kfree

Marius Poke mariusp55 at yahoo.com
Wed Mar 10 20:02:14 EET 2010


Am gasit problema (de fapt mi-a explicato careva :) ). Era bienteles o eraore de a mea. Alocam un char * si apoi ii atribuiam un sir de caractere. Incercam sa eliberez memorie alocata static :P.

Mersi,
    Marius





________________________________
From: Cosmin Ratiu <cosminratiu at gmail.com>
To: Proiectarea Sistemelor de Operare <pso at cursuri.cs.pub.ro>
Sent: Wed, March 10, 2010 6:17:15 PM
Subject: Re: [pso] Laborator3 - kfree


2010/3/10 Marius Poke <mariusp55 at yahoo.com>

Salut,
>
>Am o problema la exercitiu1 din laboratorul 3 (partea de linux). Aloc memorie folosind kmalloc si o aloca bine (am verificat folosind un printk) dar apoi cand folosesc kfree apare un oops:
>
>
Poti sa pui te rog aici liniile unde aloci si dealoci blocul respectiv de memorie?

Cosmin.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20100310/e801c338/attachment.htm>


More information about the pso mailing list