lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 14 May 2019 11:57:05 +0200
From:   David Hildenbrand <>
To:     Pankaj Gupta <>
        dan j williams <>,, vishal l verma <>,
        dave jiang <>,,,,,,,,,
        adilger kernel <>,
        darrick wong <>,,,,,,,,,,,
        xiaoguangrong eric <>,,,
        yuval shaia <>,
Subject: Re: [PATCH v8 2/6] virtio-pmem: Add virtio pmem driver

>> I think you should do the same here, vdev->priv is allocated in
>> virtio_pmem_probe.
>> But maybe I am missing something important here :)
> Because virtio_balloon use "kzalloc" for allocation and needs to be freed. 
> But virtio pmem uses "devm_kzalloc" which takes care of automatically deleting 
> the device memory when associated device is detached.

Hehe, thanks, that was the part that I was missing!



David / dhildenb

Powered by blists - more mailing lists