Re: [PATCH 0/2 v2] dcache: get/release read lock inread_seqbegin_or_lock() & friend

From: Linus Torvalds
Date: Thu Sep 12 2013 - 15:05:03 EST


On Thu, Sep 12, 2013 at 12:01 PM, Waiman Long <waiman.long@xxxxxx> wrote:
>
> Yes, I think we can do something similar for this. I will take a look to see
> how it can be fixed.

Actually, it was so trivial that I already did it, and only had one
stupid brown-bag moment while doing so.

Now my threaded test-case spends most of its time allocating the
temporary page for the result.

It's pushed out.

Btw, Al, I really want a pull request from you to fix the "returning
to user space with semaphore held" thing. Or I'm going to apply the
patch myself. I'm on the road starting very early tomorrow morning,
and I don't want to have that hanging over me..

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