Re: forget_pte()

William Lee Irwin III (wli@holomorphy.com)
Sun, 2 Jun 2002 22:35:15 -0700


On Mon, Jun 03, 2002 at 01:04:03PM +1000, Rusty Russell wrote:
> Hmm... it's only used in two places, and the name is entirely
> misleading. I think it might be neater to replace those two
> occurances with:
>
> /* PTEs must be unmapped */
> BUG_ON(!pte_none(pte));
> Cheers,
> Rusty.

I'll send a patch replacing it with that open-coded at the call sites
in short order, then.
-
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/