Skip to content

Add to HISTORY and minor loose ends from #9294, #9254 - #9386

Closed
pdillinger wants to merge 3 commits into
meta:mainfrom
pdillinger:history_9294_9254
Closed

pdillinger wants to merge 3 commits into
meta:mainfrom
pdillinger:history_9294_9254

Conversation

@pdillinger

@pdillinger pdillinger commented Jan 14, 2022 •

Copy link
Copy Markdown
Contributor

Summary: Loose ends relate to mmap on 32-bit systems. (Testing is more
complicated when the feature was completely disabled on 32-bit.)

Test Plan: CI

Summary: Loose ends relate to mmap on 32-bit systems. (Testing is more
complicated when the feature is completely disabled on 32-bit.)

Test Plan: CI
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ajkr ajkr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread port/win/env_win.cc
if (options.use_mmap_reads && sizeof(void*) >= 8) {
// Use mmap when virtual address-space is plentiful.
// CAUTION! This will map the entire file into the process address space.
// Not recommended for 32-bit platforms.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should the warning be on the API doc?

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pdillinger has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Tim-Reed pushed a commit to Tim-Reed/rocksdb that referenced this pull request Oct 1, 2026
)

Summary:
Loose ends relate to mmap on 32-bit systems. (Testing is more
complicated when the feature was completely disabled on 32-bit.)

Pull Request resolved: meta#9386

Test Plan: CI

Reviewed By: ajkr

Differential Revision: D33590715

Pulled By: pdillinger

fbshipit-source-id: f2637036a538a552200adee65b6765fce8cae27b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants