Uploaded image for project: 'ReactOS Test Suite'
  1. ReactOS Test Suite
  2. ROSTESTS-301

[Vista/+] Improve ok_irql(APC_LEVEL) in CcCopyRead_drv.c and CcMapData_drv.c

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • None
    • ReactOS Tests
    • None

    Description

      As noticed while testing ROSTESTS-264 and ROSTESTS-300, the 2 following ok_irql(APC_LEVEL) fail on Vista/+.

      ok.*APC_LEVEL grep

      modules/rostests/kmtests/ntos_cc/CcCopyRead_drv.c
       278             ok_irql(APC_LEVEL);
      modules/rostests/kmtests/ntos_cc/CcMapData_drv.c
       295         ok_irql(APC_LEVEL);
       
      modules/rostests/kmtests/ntos_mm/MmMapLockedPagesSpecifyCache_drv.c
       176                             ok(Irql <= APC_LEVEL, "IRQL > APC_LEVEL: %d\n", Irql);

      For the record,

      • as noticed when first added in CORE-14349, this fails on ROS too.
      • as noticed while testing ROSTESTS-264, CcCopyRead test crashes on 7 and 8.

      https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-cccopyread
      {{IRQL "<= APC_LEVEL"}}

      https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-ccmapdata
      {{IRQL "< DISPATCH_LEVEL"}}

      http://osronline.com/showThread.CFM?link=272478

      paging I/O has ALWAYS been done in a context where special kernel APCs are blocked (IRQL APC_LEVEL prior to Server 2003, and the special kernel APC disable field non-zero since then)

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            Serge Gautherie Serge Gautherie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: