Skip to content

Conversation

@praasz
Copy link
Contributor

@praasz praasz commented Nov 24, 2025

Details:

  • MAP_PRIVATE to MAP_SHARED, to avoid copy-on-write scenario, file will be still read-only.
  • To be compatible what is done on Windows by ::MapViewOfFile

Tickets:

Signed-off-by: Raasz, Pawel <pawel.raasz@intel.com>
@praasz praasz requested a review from a team as a code owner November 24, 2025 07:17
@github-actions github-actions bot added the category: Core OpenVINO Core (aka ngraph) label Nov 24, 2025
Copy link
Contributor

@olpipi olpipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still have copy-on-write on Windows as well. To change it, we should change flags in all: CreateFileW, CreateFileMapping, MapViewOfFile

@jwludzik
Copy link

We still have copy-on-write on Windows as well. To change it, we should change flags in all: CreateFileW, CreateFileMapping, MapViewOfFile

I do not see anywhere FILE_MAP_COPY set in Windows. Can you help me to understand where the copy-on-write is used in OpenVINO code for Windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Core OpenVINO Core (aka ngraph)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants