Linux Kernel ioctl(), unlocked_ioctl(), and compat_ioctl()

The ioctl() has been a common way of passing control into a kernel. Recent change of Linux kernel requires new driver be developed without resorting to the big kernel lock.

This article titled “the new way of ioctl()” explain it in much details.

For short:

Or … … anything else?

 

Advertisements

About minghuasweblog

a long time coder
This entry was posted in All, C/C++ and tagged , . Bookmark the permalink.

One Response to Linux Kernel ioctl(), unlocked_ioctl(), and compat_ioctl()

  1. Pingback: Linux kernel 笔记 (58)——ioctl | 我的站点

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s