lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 3 Oct 2011 22:55:16 -0400
From:	Ganesh Karuppur Rajagopalan <ganesh.kr356@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Pallav Bose <pallavbose@...il.com>
Subject: Queuing multiple task_struct structures?

Hi All,

I would like to queue up multiple struct task_structs in my block
device driver. Here, each task_struct would correspond to a userlevel
thread which uses the ioctl() system call to send a userspace buffer
to my block device driver. Once I queue up multiple task_structs, I
would like to keep them on the queue until a particular condition is
met (i.e., the buffer has been written down to the disk).

So, my question is, how do I queue up multiple task_structs, put them
to sleep, and then wake a subset of the queued task_structs when some
condition is met?

Thanks and Regards
Ganesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ