system call

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

 



HI all
while reading the source of the open system call I encountered
the following macro in a function kmem_cache_alloc
#define local_irq_save(x)   __asm__ __volatile__ ("pushfl;
     popl %0; cli; ":"=g"(x)::"memory")
this generated a code(pushfl;popl -4(%ebp);cli)
What does the above piece of code mean and what is it's purpose?
Also I would  be grateful if some kind of pointers are provided to
understand the whole
process of accessing ,reading and writing into files.
thanks and regards
GP





--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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