Re: Advice about the linux kernel development process

2020-06-27 Thread Oscar Carter
On Mon, Jun 22, 2020 at 10:07:40AM +0200, Greg KH wrote: > On Sat, Jun 20, 2020 at 04:39:15PM +0200, Oscar Carter wrote: > > Hi, > > > > I've been working in the KSPP task number 20: "Enable -Wcast-function-type > > globally" [1] but now I have some questions about the development process. > > > >

Re: Are there some potential problems that I should be aware of if I allocate the memory which doesn't have any relation to peripheral hardwares(i.e. DMA, PCI, serial port and etc) by vmalloc() instea

2020-06-27 Thread Greg KH
On Sat, Jun 27, 2020 at 02:00:50PM +0800, 孙世龙 sunshilong wrote: > Hi, Greg KH > Thank you for your patience and your help. > >What code is causing that failure by asking for memory that you do not > >have? Please fix that up, the core kernel should be fine. > > >Then fix your broken driver that

Re: Are there some potential problems that I should be aware of if I allocate the memory which doesn't have any relation to peripheral hardwares(i.e. DMA, PCI, serial port and etc) by vmalloc() instea

2020-06-27 Thread 孙世龙 sunshilong
Hi, Greg KH Thank you for your patience and your help. >What code is causing that failure by asking for memory that you do not >have? Please fix that up, the core kernel should be fine. >Then fix your broken driver that is asking for so much memory on a >system that does not have it. Do you