Clarify log when ignoring mlock error (#2004)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/2004 It's been confusing to users when they see an Error-level log complaining about an `mlock()` failure even though it's being ignored. We do print a follow-up Info line after it, but some users may disable Info messages. Instead, print the message at Info level when ignoring it, and make it clear that it is being ignored. While I'm here, print the file offset of the region that we're trying to lock, to make it easier to figure out which segment is failing to lock. Reviewed By: larryliu0820 Differential Revision: D53876334 fbshipit-source-id: b4ff1b955ba8d69803d50dceab771b9a5bf1e4c3
D
Dave Bort committed
288c948fb57a89c6a89b30b1cc45aed39b50c592
Parent: 2dbe2cf
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 2/17/2024, 12:56:26 AM