Re: sk_wait_data

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

 



On Thu, 19 Feb 2015 23:45:44 +0100, Grzegorz Dwornicki said:

> How does the kernel know when to "unblock" the process? Function name:
> sk_wait_data and macro name: sk_wait_event tells me that there should
> be some queue checning from time to time...

No need to check the queue from time to time.  Just wait - and *when data
arrives*, poke the queue to wake it up (or when the timeout hits).

Attachment: pgp8PbYLaAft8.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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