require suggestions from everybody on kernel modules programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Hello all,
  While doing kernel module programming i come to know following aspects that we must not use in kernel modules
1)#define MODULE
  #define __KERNEL__

2) dont open files in kernel modules
3) dont allow kernel modules to sleep

Is that correct? As far as i  have interacted on kernelnewbies and its archives said its correct.
Please provide your suggestions and also what should not be done in kernel like aboce things???

Thanks in advance.
regards,
parag.




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux