bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/3] i386: add io_map_cached


From: Samuel Thibault
Subject: Re: [PATCH 2/3] i386: add io_map_cached
Date: Thu, 15 May 2014 02:13:13 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Hello,

Justus Winter, le Fri 02 May 2014 21:33:01 +0200, a écrit :
> io_map_cached is like io_map, but reuses the old mapping if it is
> applicable.

But AIUI, if it is not applicable, it does not unmap the previous
mapping, so we lose virtual memory.

A really transparent io_map_cached seems not really feasible, since you
never know what the caller will do with the pointer.

I'm wondering: why not just use phystokv() in acpi.c instead?

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]