d_map_single - how should it work?
- Reply: Konstantin Belousov : "Re: d_map_single - how should it work?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Oct 2023 07:58:41 UTC
Hello, is there any documentation for cdevsw methods? I am interested in knowing how d_map_single should be written. Most specifically, I want to know if the driver has a chance to track mmaped allocations on its own (as far as I can see there unmap(2) does not call any of the driver's methods). Marcin