• Tejun Heo's avatar
    net/9p: replace p9_poll_task with a work · aa70c585
    Tejun Heo authored
    Now that cmwq can handle high concurrency, it's more efficient to use
    work than a dedicated kthread.  Convert p9_poll_proc() to a work
    function for p9_poll_work and make p9_pollwake() schedule it on each
    poll event.  The work is sync flushed on module exit.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Eric Van Hensbergen <ericvh@gmail.com>
    Cc: Ron Minnich <rminnich@sandia.gov>
    Cc: Latchesar Ionkov <lucho@ionkov.net>
    Cc: v9fs-developer@lists.sourceforge.net
trans_fd.c 23.8 KB