On Tue 02-06-15 15:29:12, Andrew Morton wrote: > On Tue, 2 Jun 2015 17:23:00 +0200 Jan Kara wrote: > > > > That's a lump of new code which many kernels won't be needing. Can we > > > put all this in a new .c file and select it within drivers/media > > > Kconfig? > > So the attached patch should do what you had in mind. OK? > > lgtm. > > > drivers/gpu/drm/exynos/Kconfig | 1 + > > drivers/media/platform/omap/Kconfig | 1 + > > drivers/media/v4l2-core/Kconfig | 1 + > > mm/Kconfig | 3 + > > mm/Makefile | 1 + > > mm/frame-vec.c | 233 ++++++++++++++++++++++++++++++++++++ > > But frame_vector.c would be a more pleasing name. For `struct frame_vector'. OK, makes sense. Updated patch attached. Honza -- Jan Kara SUSE Labs, CR