Prev: power_meter: acpi_device_class "power_meter_resource" too long
Next: [RFC 10/15] PM / Hibernate: user, implement user_ops reader
From: Rafael J. Wysocki on 25 Mar 2010 16:40 On Thursday 25 March 2010, Nigel Cunningham wrote: > Hi. > > On 26/03/10 07:12, Rafael J. Wysocki wrote: > > On Thursday 25 March 2010, Nigel Cunningham wrote: > >> Hi again. > >> > >> On 25/03/10 09:58, Nigel Cunningham wrote: > >>> Hi. > >>> > >>> On 25/03/10 08:22, Jiri Slaby wrote: > >>>> On 03/24/2010 09:30 PM, Pavel Machek wrote: > >>>>> On Tue 2010-03-23 17:17:31, Jiri Slaby wrote: > >>>>>> +int sws_bio_read_page(pgoff_t page_off, void *addr, struct bio **bio_chain) > >>>>>> +{ > >>>>>> + return submit(READ, sws_resume_bdev, page_off * (PAGE_SIZE>> 9), > >>>>>> + virt_to_page(addr), bio_chain); > >>>>>> +} > >>>>> > >>>>> sws_ is kind of strange prefix. We were trying to get away from > >>>>> "swsuspend" name for quite some time... > >>>> > >>>> No problem to change the prefix to anything else. Do you (anybody) > >>>> suggest anything? > >>>> > >>> > >>> How about some abbreviation of hibernate? "hib"? > >> > >> On further reflection, how about "std" (suspend to disk)? I think that's > >> less ugly than the 'hib' suggestion :) > > > > But it also decodes as "standard" if someone is not in the right context. :-) > > Ah... > > > If the "bio" part of the name is not essential (ie. there's no conflicting name > > already), we could call it simply hibernate_read_page(). > > Yeah. So we're going with hibernate or hib_ if it needs abbreviating? I'd just use "hibernate" without abbreviating if reasonably possible. We can also use "image_" in some cases I guess. Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Pavel Machek on 29 Mar 2010 09:40
Hi! > > > How about some abbreviation of hibernate? "hib"? > > > > On further reflection, how about "std" (suspend to disk)? I think that's > > less ugly than the 'hib' suggestion :) > > But it also decodes as "standard" if someone is not in the right context. :-) > Hmm, and when you are in really wrong context, you get rather nasty diseases... std_prepare() seems like rather bad idea :-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |