All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/6][usercr]: Rename/reorg usercr code
@ 2010-04-14  0:49 Sukadev Bhattiprolu
       [not found] ` <20100414004927.GA13012-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Sukadev Bhattiprolu @ 2010-04-14  0:49 UTC (permalink / raw)
  To: Oren Laadan; +Cc: Containers


Change the prefix of the USERCR apis to 'cr_' and reorg the code to avoid
duplication and reduce code size.

	[PATCH 1/6] Change API prefix to cr_
	[PATCH 2/6] Remove flags parameter to cr_checkpoint()
	[PATCH 3/6] Minor reorg of restart.c
	[PATCH 4/6] Move checkpoint() into restart.c
	[PATCH 5/6] Rename restart.c to cr_checkpoint.c
	[PATCH 6/6] Rename common.h to cr_log.h

With this change, USERCR for now "exports" just the following two files:

	cr_checkpoint.o
	cr_checkpoint.h

But this patchset does cause some churn, let me know if you think any of it
is unnecessary/noise.  I have tested for now along with the patch that removes
most exits() from cr_restart(). If the reorg makes sense, will run all tests
once more and resubmit.

TODO:
	cr_checkpoint.c has several forward declarations - most of these can
  	be removed by reordering the code in the file. This would also
	reduce maintenance overhead when the prototype of the functions
	change. But changing it would cause more noise in the history.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-06-14 21:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14  0:49 [RFC][PATCH 0/6][usercr]: Rename/reorg usercr code Sukadev Bhattiprolu
     [not found] ` <20100414004927.GA13012-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-14  0:52   ` [RFC][PATCH 1/6][usercr] Change API prefix to cr_ Sukadev Bhattiprolu
2010-04-14  0:52   ` [RFC][PATCH 2/6][usercr] Remove flags parameter to cr_checkpoint() Sukadev Bhattiprolu
2010-04-14  0:52   ` [RFC][PATCH 3/6][usercr] Minor reorg of restart.c Sukadev Bhattiprolu
2010-04-14  0:52   ` [RFC][PATCH 4/6][usercr] Move checkpoint() into restart.c Sukadev Bhattiprolu
2010-04-14  0:53   ` [RFC][PATCH 5/6][usercr] Rename restart.c to cr_checkpoint.c Sukadev Bhattiprolu
2010-04-14  0:53   ` [RFC][PATCH 6/6][usercr] Rename common.h to cr_log.h Sukadev Bhattiprolu
2010-04-20 18:07   ` [RFC][PATCH 0/6][usercr]: Rename/reorg usercr code Sukadev Bhattiprolu
     [not found]     ` <20100420180733.GA13874-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-25 20:24       ` Oren Laadan
     [not found]         ` <4BD4A501.6070106-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2010-04-26 17:16           ` Sukadev Bhattiprolu
     [not found]             ` <20100426171603.GB27542-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-26 18:46               ` Oren Laadan
2010-06-14 21:31           ` Oren Laadan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.