Re: Invalidating a page of a user level process.

From: Arjan van de Ven
Date: Thu Mar 16 2006 - 03:25:01 EST


On Thu, 2006-03-16 at 06:59 +0000, VISHAL NAHAR wrote:
> Hello all,
> I am stuck up at invalidation of a page of a user
> level process.
> Wht i am doin is that i am calling a device driver
> ioctl func from a normal C prog in user space and
> passing a virtual address into the ioctl func .In the
> ioctl func (kernel space) i want to invalidate the
> corresponding page.I have used funcs like pte_clear,
> flush_tlb_page,page_remove_rmap,etc. but couldnt
> succeed.Also suggest if any locks have to be acquired
> .
>
> Can anyone of u help me in page invalidation.I would
> be grateful.
> Thanking you in advance

you forgot to attach your sourcecode.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/