Skip to contentSkip to conversation

Invalidating a page of a user level process.

DISCUSSION VISHAL NAHAR 2 participants 2 messages Mar 16, 2006

lore
Share & tools
lore
#0 lore raw

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

[email protected]

__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

#1 lore raw
Quoted 12 lines · VISHAL NAHAR

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 .

Quoted 3 lines

Can anyone of u help me in page invalidation.I would be grateful.
Thanking you in advance

you forgot to attach your sourcecode.