> -----Original Message----- > From: Hari Kanigeri [mailto:hari.kanigeri@xxxxxxxxx] > Sent: Saturday, July 24, 2010 7:12 PM > To: Shilimkar, Santosh > Cc: Sin, David; linux-arm-kernel@xxxxxxxxxxxxxxxxxxxxxx; linux- > omap@xxxxxxxxxxxxxxx; Tony Lindgren; Russell King; Kanigeri, Hari; Ohad > Ben-Cohen; Hiremath, Vaibhav; Molnar, Lajos > Subject: Re: [RFC 7/8] TILER-DMM: Main TILER driver implementation. > > >> +s32 tiler_mmap_blk(struct tiler_block_t *blk, u32 offs, u32 size, > >> + struct vm_area_struct *vma, u32 voffs) > >> +{ > >> + u32 v, p, len; > >> + > >> + /* don't allow mremap */ > >> + vma->vm_flags |= VM_DONTEXPAND | VM_RESERVED; > > Should we add " VM_LOCKED" as well considering the page swapping ? > > -- VM_RESERVED serves this purpose right ? > I think you are right. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html