Re: [RFC 06/15] PM / Hibernate: swap, remove swap_map_handle usages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Slaby
Date: Wednesday, March 24, 2010 - 2:29 pm

On 03/24/2010 09:33 PM, Pavel Machek wrote:

Ok, "upper layers" may get a handle via .get_reader/writer. The downside
is that they would have to get (void *) and pass (void *) down again. I
wanted to avoid that (taking into account that it's a singleton).


The point was to avoid (void *)'s and save users from transferring
pointer as a handle. No matter what, the decision is not up to me,
discussion indeed welcome.

-- 
js
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC 06/15] PM / Hibernate: swap, remove swap_map_hand ..., Jiri Slaby, (Wed Mar 24, 2:29 pm)
Re: [RFC 06/15] PM / Hibernate: swap, remove swap_map_hand ..., Rafael J. Wysocki, (Thu Mar 25, 2:35 pm)