uschindler commented on PR #13337:
URL: https://github.com/apache/lucene/pull/13337#issuecomment-2101570838

   In general we may still look at Robert's suggestion. If we plan to send a 
preload for mayne slices, we should think of adding another random API to 
`RandomAccessIndexInput`, something like:
   
   ```java
   public void preload(Tuple<long offset, long length> pair...)
   ```
   
   This one should first call `mincore` to figure out if the pages are not 
already loaded by kernel and then only call `madviseWillNeed()` for those pages 
that are not cached already.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to