Re: Re: Booting with SYSLINUX on Loopback Device: Kernel Panic - Where to Start?

2016-03-09 Thread Patrick
On Tue, Mar 8, 2016 at 11:03 AM, 张云 wrote: > > You can circumvent the grub-install bug by substituting a USB memory for > the disk image. > > 发自 网易邮箱大师 > ​Ok, thanks! -Patrick​ ___ Kernelnewbies mailing

Re: kmalloc/malloc for dma ?

2016-03-09 Thread Ran Shalit
On Wed, Mar 9, 2016 at 11:16 AM, Ran Shalit wrote: > Hello, > > I have some sample code which uses 2 test application: > 1. test application in kernel , which allocates buffer using kmalloc > (GFP_KERNEL) > 2. test application in userspace which allocates buffer using malloc

kmalloc/malloc for dma ?

2016-03-09 Thread Ran Shalit
Hello, I have some sample code which uses 2 test application: 1. test application in kernel , which allocates buffer using kmalloc (GFP_KERNEL) 2. test application in userspace which allocates buffer using malloc In both cases the buffers are DMA through PCI. I don't understand how is it that