Messages in this thread | | | Date | Fri, 21 Oct 2005 14:57:47 -0700 | From | Zach Brown <> | Subject | Re: [RFC] page lock ordering and OCFS2 |
| |
> All those games with PG_fs_misc look awfully similar to lock_page() - I'd > have thought there's some room for rationalising code in there.
Yeah, it's very much like a secondary restricted page lock. Instead of sleeping when you can't get the page lock, you can also try acquiring this sort of secondary page lock bit which lets you do *very* specific things. Maybe it's not *that* weird, I just didn't think that the core would be interested in supporting that notion. I can try rolling a patch to see what a more sensible API would look like.
> The overall approach would be to avoid adding overhead and complexity for > other filesystems and to only export symbols which constitute a sensible > API:
*nod*
- z - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |