Accessing peripheral register directly from userspace

From: Krishna Gopal
Date: Mon Apr 12 2010 - 13:01:41 EST


Would there be any issues for optimization purpose I do a mmap to a
peripheral register to directly access it from userspace ? This is
considering the peripheral already has a Kernel driver through which
you can set the register bit.

Basically I want to avoid the additional context switch on entering
the Kernel to set that one bit in the Peripheral register.

I request you to please share your thoughts.

Best regards,
Krishna
--
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/