This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
## Patch for Vmware 12.1.1 Kernel 4.9
**Note: User at your own risk !**
Vmware 12.1 modules compilation is broke since kernel 4.9.
Here’s a quick and dirty patch I came up with after failing to find a solution.
### Usage
1. Go to vmware modules source directory
cd /usr/lib/vmware/modules/source/
2. Extract **vmmon** and **vmnet** sources
tar xf vmnet.tar
tar xf vmmon.tar
3. In the same directory, move the patch files from this repo
Thssignatureofget_user_pages_remotechanged,insteadofpassing(write=1,force=0)theyarepassedinaflag(0|= [FOLL_WRITE or 0](https://github.com/torvalds/linux/blob/6e5c8381d1db4c1cdd4b4e49d5f0d1255c2246fd/include/linux/mm.h#L2278))