Re: [patch] 'virtual => physical page mapping cache' take #2, vcache-2.5.38-C4

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Tue Oct 15 2002 - 00:15:13 EST


In message <Pine.LNX.4.44.0209272043260.17678-100000@localhost.localdomain> you
 write:
> + page = pin_page(uaddr - offset);
> + ret = IS_ERR(page);
> + if (ret)
> + goto out;
> + head = hash_futex(page, offset);

Um, you mean:
        if (IS_ERR(page)) {
                ret = PTR_ERR(page);
                goto out;
        }

Cheers,
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:53 EST