Re: Guidance about minimal configurations for kernel compilation

2015-06-07 Thread Mayur Patil
Thanks Greg for advice I will try to follow it and will convey the results. *-- * *Regards,Mayur S Patil,A research oriented program learner,Pune, India.* On Sun, Jun 7, 2015 at 10:17 PM, Greg KH g...@kroah.com wrote: On Sun, Jun 07, 2015 at 09:45:07PM +0530, Mayur Patil wrote: Hi All,

set_current_state() use in loops confusion

2015-06-07 Thread Nicholas Mc Guire
Hi ! Noticed that in a number of cases - often while(!kthread_should_stop()){ loops the call to set_current_state(...) is inside the loop - but e.g. in the below case why would that be needed ? schedule() is not changing the state visibly for the loop - so what is the point of setting the

Re: Guidance about minimal configurations for kernel compilation

2015-06-07 Thread Greg KH
On Sun, Jun 07, 2015 at 09:45:07PM +0530, Mayur Patil wrote: Hi All,     I am struggling to build small size with minimum time for kernel  compilation with vanilla kernels of  kernel.org.  As mentioned in the makehelp, I have used defconfig but unable to get  desirable results. I have

Guidance about minimal configurations for kernel compilation

2015-06-07 Thread Mayur Patil
Hi All, I am struggling to build *small size with minimum time for kernel * *compilation* with vanilla kernels of kernel.org. As mentioned in the makehelp, I have used defconfig but unable to get desirable results. I have followed linuxscratch

miscdevice and default attributes

2015-06-07 Thread David Bakin
Where do I set the default attributes for a device created with misc_register()? In kernel 3.19 struct miscdevice looks like this: struct miscdevice { int minor; const char *name; const struct file_operations *fops; struct list_head list; struct device *parent; struct device *this_device;